/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package dao;

import core.Login;
import core.User;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author ironman
 */
@Local
public interface IUser {


    public void createUser(User user);

    void updateUser(User user);

    void deleteUser(User user);

    public User findUser(int userId);

    public User findUser(String username);

    public List<User> findAllUsers();
    
    public User testLogin(Login login);

}
